package day05;

public class Student extends Person {
    String major;
    String id;
    public Student(String major, String id,int age, String name, String surname,String address) {
        this.major = major;
        this.id = id;
//        this.age = age;
//        this.name = name;
//        this.address=address;
        super.name = name;
        super.age = age;
        super.address = address;
    }
    Student(){}
    void Study()
    {
        eat();
        System.out.println("Student is Study");
        sleep();
    }
}
